package com.example.lushudao_admin.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Component;

@Component
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class InfoManager {
    private int admin_id;
    private String admin_name;
    private String admin_acc;
    private String admin_pwd;
    private String perms;
    private String role;
    @Override
    public String toString() {
        return JSONObject.fromObject(this).toString();
    }
}
